package serivce;

import untity.Chatmessage;

import java.util.List;

public class ReturnMessage {
    private String roomId;
    private List<Chatmessage> list;

    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public List<Chatmessage> getList() {
        return list;
    }

    public void setList(List<Chatmessage> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "ReturnMessage{" +
                "roomId='" + roomId + '\'' +
                ", list=" + list +
                '}';
    }
}
